Example

> matrix()
        []
> matrix(3)
        3  
> show(matrix(3))
   name:      NULL  
   class:     num   
   type:      real  
     nr:      1     
     nc:      1     
> show(matrix("This is a test string"))
   name:      NULL    
   class:     string  
   type:      string  
     nr:      1       
     nc:      1       
> a = [2.4,5,3,6;2,-6,-9,102]
 a =
      2.4          5          3          6  
        2         -6         -9        102  
> matrix(a)
      2.4          5          3          6  
        2         -6         -9        102
See also: Page [*] scalar().